import { request } from '@/utils/request.js';

// 首页海报列表
export const apigetBanner = () => request({ url: '/homeBanner', method: 'POST' });

// 随机9张壁纸
export const apigetDayrandomr = () => request({ url: '/randomWall' });

// 获取公告
 export const apigetnoticeList = (data = {}) => request({ url: '/wallNewsList', data });

// 壁纸大分类
 export const apiClassIfy = (data = {}) => request({ url: '/classify', data });

 // 分类中壁纸列表（分类详情）
 export const apiwallList = (data = {}) => request({ url: '/wallList', data });
 // 的评分/下载列表
 export const apiSetupScore = (data = {}) => request({ url: '/setupScore', data });

 // 壁纸下载
 export const apiWriteDownLoad = (data = {}) => request({ url: '/downloadWall', data });

// 单个壁纸详情
export const apiDetailWall = (data = {}) => request({ url: '/detailWall', data });

// 用户个人信息
export const apiUserInfo = () => request({ url: '/userInfo' });

// 我的评分/下载列表
export const apiGetHistoryList = (data = {}) => request({ url: '/userWallList', data });
